// BlankFrameWorkDoc.cpp : implementation of the CBlankFrameWorkDoc class
//

#include "stdafx.h"
#include "BlankFrameWork.h"

#include "BlankFrameWorkDoc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CBlankFrameWorkDoc

IMPLEMENT_DYNCREATE(CBlankFrameWorkDoc, CDocument)

BEGIN_MESSAGE_MAP(CBlankFrameWorkDoc, CDocument)
	//{{AFX_MSG_MAP(CBlankFrameWorkDoc)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//    DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

BEGIN_DISPATCH_MAP(CBlankFrameWorkDoc, CDocument)
	//{{AFX_DISPATCH_MAP(CBlankFrameWorkDoc)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//      DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_DISPATCH_MAP
END_DISPATCH_MAP()

// Note: we add support for IID_IBlankFrameWork to support typesafe binding
//  from VBA.  This IID must match the GUID that is attached to the 
//  dispinterface in the .ODL file.

// {FF88E4C7-9DF9-4EA1-A4AD-4F9C27EA7824}
static const IID IID_IBlankFrameWork =
{ 0xff88e4c7, 0x9df9, 0x4ea1, { 0xa4, 0xad, 0x4f, 0x9c, 0x27, 0xea, 0x78, 0x24 } };

BEGIN_INTERFACE_MAP(CBlankFrameWorkDoc, CDocument)
	INTERFACE_PART(CBlankFrameWorkDoc, IID_IBlankFrameWork, Dispatch)
END_INTERFACE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CBlankFrameWorkDoc construction/destruction

CBlankFrameWorkDoc::CBlankFrameWorkDoc()
{
	// TODO: add one-time construction code here

	EnableAutomation();

	AfxOleLockApp();
}

CBlankFrameWorkDoc::~CBlankFrameWorkDoc()
{
	AfxOleUnlockApp();
}

BOOL CBlankFrameWorkDoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

	// TODO: add reinitialization code here
	// (SDI documents will reuse this document)

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CBlankFrameWorkDoc serialization

void CBlankFrameWorkDoc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}
}

/////////////////////////////////////////////////////////////////////////////
// CBlankFrameWorkDoc diagnostics

#ifdef _DEBUG
void CBlankFrameWorkDoc::AssertValid() const
{
	CDocument::AssertValid();
}

void CBlankFrameWorkDoc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CBlankFrameWorkDoc commands
